module.exports = {
  data: {
    type: Array,
    default () {
      return [
        {
          "id": 0,
          "title": "资源配置",
          "status": "finish",
          "active": 3,
          "value": 0
        },
        {
          "id": 1,
          "title": "政府配置",
          "status": "error",
          "value": 1
        },
        {
          "id": 2,
          "title": "教育质量",
          "status": "process",
          "value": 2
        },
        {
          "id": 3,
          "title": "社会认可度",
          "status": "success",
          "value": 3
        }
      ]
    },
    name: '图表数据集',
    filedType: 'api'
  },

  autoPlay: {
    type: Boolean,
    default: false,
    name: '是否自动播放',
    filedType: 'switch'
  },

  intervalTimeString: {
    type: String,
    default: '20000',
    name: '周期',
    filedType: 'string'
  },
  activeString: {
    type: String,
    default: '0',
    name: '当前激活选项',
    filedType: 'string'
  },

  value: {
    type: String,
    default: '',
    name: '选中标签',
    filedType: 'value',
    dataSource: {
      from: 'list',
      type: 'array',
      labelKey: 'label',
      valueKey: 'value'
    }
  },

  custValue: {
    type: Boolean,
    default: false,
    name: '使用value值',
    filedType: 'switch'
  },

  useWeb: {
    type: Boolean,
    default: false,
    name: '启用普通模式',
    nameTip: '关闭后是大屏定制样式',
    filedType: 'switch'
  },

  simple: {
    type: Boolean,
    default: false,
    name: '简洁风格',
    filedType: 'switch',
    vif: {
      key: 'useWeb',
      value: true
    }
  },

  aligncenter: {
    type: Boolean,
    default: false,
    name: '居中对齐',
    filedType: 'switch',
    vif: {
      key: 'useWeb',
      value: true
    }
  },

  direction: {
    type: String,
    default: 'horizontal',
    name: '显示方向',
    filedType: 'select',
    options: [
      {
        name: 'vertical',
        value: 'vertical'
      },
      {
        name: 'horizontal',
        value: 'horizontal'
      }
    ],
    vif: {
      key: 'useWeb',
      value: true
    }
  },

  space: {
    type: String,
    default: '',
    name: 'step的间距',
    filedType: 'string',
    vif: {
      key: 'useWeb',
      value: true
    }
  },

  processstatus: {
    type: String,
    default: 'success',
    name: '当前步骤的状态',
    filedType: 'select',
    options: [
      {
        name: 'wait',
        value: 'wait'
      },
      {
        name: 'process',
        value: 'process'
      },
      {
        name: 'finish',
        value: 'finish'
      },
      {
        name: 'error',
        value: 'error'
      },
      {
        name: 'success',
        value: 'success'
      }
    ],
    vif: {
      key: 'useWeb',
      value: true
    }
  },
  finishstatus: {
    type: String,
    default: 'process',
    name: '结束步骤的状态',
    filedType: 'select',
    options: [
      {
        name: 'wait',
        value: 'wait'
      },
      {
        name: 'process',
        value: 'process'
      },
      {
        name: 'finish',
        value: 'finish'
      },
      {
        name: 'error',
        value: 'error'
      },
      {
        name: 'success',
        value: 'success'
      }
    ],
    vif: {
      key: 'useWeb',
      value: true
    }
  },
  // fontSize: {
  //   type: String,
  //   default: '14px',
  //   name: 'icon字体大小',
  //   filedType: 'string'
  // },
  // color: {
  //   type: String,
  //   default: '#333333',
  //   name: '激活颜色',
  //   filedType: 'color'
  // },
  // bgColor: {
  //   type: String,
  //   default: '#333333',
  //   name: '标题字体颜色',
  //   filedType: 'color'
  // },
  // titleFontSize: {
  //   type: String,
  //   default: '14px',
  //   name: '标题字体大小',
  //   filedType: 'string'
  // },
  // descFontSize: {
  //   type: String,
  //   default: '14px',
  //   name: '标题字体大小',
  //   filedType: 'string'
  // },

  custicon: {
    type: Boolean,
    default: false,
    name: '自定义图标',
    filedType: 'switch',
    vif: {
      key: 'useWeb',
      value: true
    }
  },
  custitle: {
    type: Boolean,
    default: false,
    name: '自定义标题',
    filedType: 'switch',
    vif: {
      key: 'useWeb',
      value: true
    }
  },
  custdesc: {
    type: Boolean,
    default: false,
    name: '自定义描述',
    filedType: 'switch',
    vif: {
      key: 'useWeb',
      value: true
    }
  },
  icons: {
    type: Array,
    default () {
      return []
    },
    name: '图片列表',
    filedType: 'file',
    limit: 100,
    maxSize: 1024
  },
  iconsPosition: {
    type: Array,
    default: 'left',
    name: '图片位置',
    filedType: 'select',
    options: [
      {
        name: '左边',
        value: 'left'
      },
      {
        name: '上边',
        value: 'top'
      }
    ]
  },

  iconWidth: {
    type: String,
    default: '60px',
    name: '图标宽度',
    filedType: 'string'
  },

  iconHeight: {
    type: String,
    default: '80px',
    name: '图标高度',
    filedType: 'string'
  },
  iconBool: {
    type: Boolean,
    default: false,
    name: '显示图片边框',
    filedType: 'switch'
  },
  iconBorderColor: {
    type: String,
    default: '#ccc',
    name: '图片边框颜色',
    filedType: 'color'
  },
  iconBorderRadius: {
    type: String,
    default: '30px',
    name: '图片边框圆角',
    filedType: 'string'
  },
  lineBgColor: {
    type: String,
    default: '#C0C4CC',
    name: '默认线条颜色',
    filedType: 'color'
  },
  iconBgColor: {
    type: String,
    default: '#fff',
    name: '节点背景颜色',
    filedType: 'color'
  },
  errorColor: {
    type: String,
    default: '#F56C6C',
    name: 'error状态颜色',
    filedType: 'color'
  },
  processColor: {
    type: String,
    default: '#303133',
    name: 'process状态颜色',
    filedType: 'color'
  },
  finishColor: {
    type: String,
    default: '#409EFF',
    name: 'finish状态颜色',
    filedType: 'color'
  },
  successColor: {
    type: String,
    default: '#67C23A',
    name: 'success状态颜色',
    filedType: 'color'
  },
  waitColor: {
    type: String,
    default: '#C0C4CC',
    name: 'wait状态颜色',
    filedType: 'color'
  },
}
